package com.tangcco.lockwell.domain;

import java.io.Serializable;
import java.util.Date;

/*
*杨晨
* */
public class UserEventLog implements Serializable {

    public UserEventLog() {

    }

    public UserEventLog(Integer userId, String userName, String realName, String createTime) {
        this.userId = userId;
        this.userName = userName;
        this.realName = realName;
        this.createTime = createTime;
    }

    private static final long serialVersionUID = -8047980559895024822L;
    //日志id
    private Integer id;
    //用户id外键关联用户表
    private Integer userId;
    //用户名
    private String userName;
    //真实姓名
    private String realName;
    //内容
    private String content;
    //时间
    private String createTime;




    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "UserEventLog{" +
                "id=" + id +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", realName='" + realName + '\'' +
                ", content='" + content + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
